package com.qhg.saas_server.service;

import com.github.pagehelper.PageInfo;
import com.qhg.saas_server.pojo.Supplier;
import com.qhg.saas_server.pojo.dto.SupplierDto;

import java.util.List;

public interface SupplierService {
    //通过供货商名称、联系人查询供货商
    PageInfo SelectAll(Integer pageNum,Integer pageSize,String supName, String comploName);
    //通过Id查询供货商
    SupplierDto SelectById(Integer supId);
    //添加供货商
    void InsertSupplier(Supplier supplier);
    //修改供货商信息
    void UpdateSupplier(Supplier supplier);
    //删除供货商
    void DeleteSupplier(Integer supId);
}
